|
CALL DLL X
This command will call a DLL with a variable number of parameters by passing in the actual pointer to the memory that holds the parameters and the number of parameters to consider.
CALL DLL X DLL Number, Function Name, Parameter Pointer, Number Of Params)
DLL Number
Integer
The DLL number as specified by the LOAD DLL command
Function Name
String
The exact name of the function to call
Parameter Pointer
Integer
The memory pointer to the data to pass in
Number Of Params
Integer
The number of parameters stored at the memory location specified
Holds the return DWORD value from the called DLL function
load dll "new.dll",1
ptr as DWORD
ptr=make memory(4*4)
result=call dll x(1,"myfunc", ptr, 4)
delete memory ptr
delete dll 1
SYSTEM Commands Menu
Index
|